package com.gsoe.judge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gsoe.base.model.Result;
import com.gsoe.dto.SaveCacheDTO;
import com.gsoe.po.TestCache;

import java.util.Map;


/**
 * <p>
 * 测验记录缓存 服务类
 * </p>
 *
 * @author xiaoma
 * @since 2024-11-04
 */
public interface TestCacheService extends IService<TestCache> {

    boolean saveInput(SaveCacheDTO saveCacheDTO);

    Map<Long, String> getTestCache(Long testId);

    void delByTextId(Long id);

}
